#pragma once

#include "SGNode.h"
#include "CPointLight.h"
#include "Parameter.h"
#include "CVector3f.h"

class SGNodePointLight : public SGNode
{
private:
	//pointer to the light object
	CPointLight* m_light;

public:
	//parameter linked to the light position
	Parameter<CVector3f>	m_position;

public:
	//constructor
	SGNodePointLight(CPointLight* light);

	//desctructor
	~SGNodePointLight();

	//update
	void doUpdate();

	//dirty
	void dirty();
};